<template>
	<view class="main">
		<view style="margin-top:44px">
		<web-view :src="weburl" update-title="true"></web-view>
		</view>
	</view>
</template>
<script>
	var app = getApp();
	export default {
		data() {
			return {
				weburl: ''
			}
		},
		onLoad: function (options) {
			if (options.weburl) {
			    // #ifdef H5
                location.href = options.weburl;
				// #endif
			    // #ifndef H5
				this.weburl = options.weburl;
				// #endif
			}
		},
		methods: {
		  
		}	
	}
</script>